package org.csu.goodpartner.service;

import org.csu.goodpartner.VO.LineItemVO;
import org.csu.goodpartner.common.CommonResponse;
import org.csu.goodpartner.entity.LineItem;

import java.util.List;

public interface LineItemService{
    //查看某一具体订单
    CommonResponse<List<LineItemVO>> getLineItemByOrderId(int orderid);
    //批量修改具体订单的商品数量
    CommonResponse updateQuanties(List<LineItem> lineItemList);
    //接受订单
    CommonResponse receiveOrder(int orderId);
    //取消接受订单
    CommonResponse cancelOrder(int orderId);
    //接受退货
    CommonResponse agreeRefund(int orderId);
}
